import https from '../index'


// 获取项目列表
export const get_project = (data)=>{
	return https({
		action: 'project/get_project',
		data
	})
}
// 创建项目
export const create_project = (data)=>{
	return https({
		action: 'project/create_project',
		data
	})
}
// 创建api
export const create_api = (data)=>{
	return https({
		action: 'project/create_api',
		data
	})
}

// 获取api详情
export const get_api_detail = (data)=>{
	return https({
		action: 'project/get_api_detail',
		data
	})
}

// 保存api
export const save_api = (data)=>{
	return https({
		action: 'project/save_api',
		data
	})
}